package com.chee.plant.hibernate.object;

import com.chee.plant.hibernate.object.base.BasePlantFruit;

public class PlantFruit extends BasePlantFruit {
	private static final long serialVersionUID = 1L;

	/* [CONSTRUCTOR MARKER BEGIN] */
	public PlantFruit() {
		super();
	}

	/**
	 * Constructor for primary key
	 */
	public PlantFruit(java.lang.Integer id) {
		super(id);
	}

	/**
	 * Constructor for required fields
	 */
	public PlantFruit(java.lang.Integer id, java.lang.Integer plantId,
			java.lang.Integer price, java.lang.Integer npcSell,
			java.lang.Integer eatLevel, java.lang.Integer eatInterval,
			java.lang.Integer eatAttack, java.lang.Integer eatDefense,
			java.lang.Integer eatLife) {

		super(id, plantId, price, npcSell, eatLevel, eatInterval, eatAttack,
				eatDefense, eatLife);
	}

	/* [CONSTRUCTOR MARKER END] */

	public void setDefaults() {
		this.setEatAttack(0);
		this.setEatDefense(0);
		this.setEatInterval(0);
		this.setEatLevel(0);
		this.setId(0);
		this.setNpcSell(0);
		this.setPlantId(0);
		this.setPrice(0);
		this.setEatLife(0);

	}

}